package cn.source.system.organization.service;


import cn.source.system.organization.entity.User;

import java.util.List;
import java.util.Map;

/**
 * UserService
 * @author lizy
 * @date 2020-07-04
 */
public interface UserService {

    /**
     * 查询
     * @param params
     * @return
     */
    List<User> listByPage(Map<String, Object> params);

    /**
     * 根据手机号获取用户信息
     * @param username
     * @return
     */
    User getUser(String username);
}
